<?php

namespace ApiWF\Model;
use Think\Model\ViewModel;

class CoinGoodsRecordViewModel extends ViewModel {

    public $viewFields = array(
        'CoinGoodsRecord'=>array('*'),
        'Users'=>array('user_nicename', '_on'=>'CoinGoodsRecord.uid=Users.id'),
        'CoinGoods'=>array('goods_name','goods_price','goods_coin','goods_pics','goods_type', '_on'=>'CoinGoodsRecord.goods_id=CoinGoods.id'),
    );


}